//
//  WCProjectTableViewFileTypeHeaderCell.m
//  WabbitCode
//
//  Created by William Towe on 12/2/08.
//  Copyright 2008 Revolution Software. All rights reserved.
//

#import "WCProjectTableViewFileTypeHeaderCell.h"


@implementation WCProjectTableViewFileTypeHeaderCell
- (void)drawSortIndicatorWithFrame:(NSRect)cellFrame inView:(NSView *)controlView ascending:(BOOL)ascending priority:(NSInteger)priority {
	if (!priority) {
		if (ascending) {
			[[NSImage imageNamed:@"NSDescendingSortIndicator"] drawInRect:[super sortIndicatorRectForBounds:cellFrame] fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
		}
		else {
			[[NSImage imageNamed:@"NSAscendingSortIndicator"] drawInRect:[super sortIndicatorRectForBounds:cellFrame] fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
		}
	}
}
@end
